package hibernate.dao;

import java.util.List;

import api.Person;

/**
 * @author Anastasiya Uryadkina
 * date: 19.04.2011	
 * time: 1:02:38
 * project: SimpleServer2rmi
 */
public interface PersonDAO
{
   public Long addPerson(Person person);

   public void updatePerson(Person person);
   
   public void deletePerson(Person person);

   public Person getPersonById(Long person_id);

   public List<Person> getAllPersons();
}
